﻿using System;
namespace ElingOA6_Admin_DSJCJ.Model
{
	/// <summary>
	/// TaskDo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class TaskDo
	{
		public TaskDo()
		{
		}
		#region Model
		/// <summary>
		/// 
		/// </summary>
		public decimal FTaskDoID
		{
			set;
			get;
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal FTaskID
		{
			set;
			get;
		}
		/// <summary>
		/// 公司编码
		/// </summary>
		public string FEntityNo
		{
			set;
			get;
		}
		/// <summary>
		/// 员工编号（办理员工编号）
		/// </summary>
		public string FEmplNo
		{
			set;
			get;
		}
		/// <summary>
		/// 备注：
///原系统的一些描述写在这个字段中
		/// </summary>
		public string FNote
		{
			set;
			get;
		}
		/// <summary>
		/// 状态：1 - 办理
///2 - 按时完成
///3 - 超时完成
///4 -未完成
///审批
///5 - 撤消
///办结确认

///这个字段的描述还需要进一步了解原系统的代码编写来做具体分析
		/// </summary>
		public string FStatus
		{
			set;
			get;
		}

        public string FStatusStr
        {
            get {
                switch (FStatus)
                {
                    case "1":
                        return "办理";
                    case "2":
                        return "按时完成";
                    case "3":
                        return "超时完成";
                    case "4":
                        return "未完成";
                    case "5":
                        return "扣分";
                    case "6":
                        return "延期至";
                    case "7":
                        return "不扣分";
                    case "8":
                        return "撤消不扣分";
                    case "9":
                        return "办结确认";
                }
                return "";
            }
        }
		/// <summary>
		/// 
		/// </summary>
		public DateTime? FInsDate
		{
			set;
			get;
		}
		/// <summary>
		/// 
		/// </summary>
		public string FInsIP
		{
			set;
			get;
		}
		#endregion Model

	}
}

